package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.common.dto.PageDTO;
import com.leyou.item.dto.BrandDTO;
import com.leyou.item.entity.Brand;

import java.util.List;


public interface BrandService extends IService<Brand> {
    void save(BrandDTO brandDTO);

    void update(BrandDTO brandDTO);

    List<BrandDTO> queryBrandByCategoryId(Long cid);

    PageDTO<BrandDTO> queryBrandByPageAndCondition(String key, Long curPage, Long rows);

    void deleteBrandById(Long id);
}